//
//  WYCremayLationModel.m
//  51信用卡
//
//  Created by 王晓民 on 2018/3/15.
//  Copyright © 2018年 中企互联. All rights reserved.
//

#import "WYCremayLationModel.h"
#import "WYCrepayDetailModel.h"
@implementation WYCremayLationModel
+(id)groupWithDic:(NSDictionary *)dic
{
    return [[self alloc]initWithDic:dic];
}
-(id)initWithDic:(NSDictionary *)dic
{
    if (self = [super init])
    {
        [self setValuesForKeysWithDictionary:dic];
        NSMutableArray * array = [NSMutableArray new];
        for (NSDictionary * dic in self.Data)
        {
            WYCrepayDetailModel * people = [WYCrepayDetailModel friendWithDic:dic];
            [array addObject:people];
        }
        _Data = array;
    }
    return self;
}
@end
